Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update get_location documentation and add caching #171

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

tfardet
Copy link
Collaborator

@tfardet tfardet commented Aug 22, 2023

Fixes #168 and adds caching to _get_location_openstreetmap.

I also cleaned up some imports and bare except clauses.
Finally, I moved the get_location directly as a method and removed its former file.

You can ignore the two test files, I just checked them and my editor autoremoves trailing whitespaces.

@tfardet tfardet added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 22, 2023
@tfardet tfardet requested a review from hadrilec August 22, 2023 08:21
@tfardet
Copy link
Collaborator Author

tfardet commented Aug 22, 2023

Failure in 3.10 seems unrelated to the PR (call to get_geodata which has not been modified)... not sure whether it's worth restarting the test... @hadrilec I'll let you decide on that.

@hadrilec
Copy link
Contributor

I restarted the one which failed, it looks fine now

@InseeFrLab InseeFrLab deleted a comment from codecov-commenter Aug 22, 2023
@hadrilec hadrilec merged commit 94bbe6b into InseeFrLab:master Aug 28, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an exact_location field for SIRENE DataFrames with get_location
2 participants